<br/>
<table cellpadding="2" cellspacing="0" border="1" class="formTable" data-sort="sortDisabled">
    <tbody>
        <tr class="firstRow">
            <td colspan="8" class="formHead" width="1479">
                场地围堵_异常升级提醒
            </td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdwd:btmc">标题名称</span>:
            </td>
            <td style="width:15%;" class="formInput" colspan="3">
                 					<input type="text" el-component="1" name="m:cdwd:btmc" class="inputText" value="" validate="{maxlength:100}"/>
            </td>
            <td style="width:15%;" class="formInput" width="140"></td>
            <td style="width:15%;" class="formInput" width="153"></td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput"></td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdwd:zhry">知会人员</span>:
            </td>
            <td style="width:15%;" class="formInput" colspan="3">
                <div>
                    <input name="m:cdwd:zhryID" type="hidden" class="hidden" value=""/><input name="m:cdwd:zhry" el-component="5" selector-showfield="" type="text" value="" validate="{}" readonly="readonly"/>
                </div>
            </td>
            <td style="width:15%;" class="formInput" width="140"></td>
            <td style="width:15%;" class="formInput" width="153"></td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput"></td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdwd:ycxx">异常信息</span>:
            </td>
            <td style="width:15%;" class="formInput" colspan="3">
                 				<textarea name="m:cdwd:ycxx" el-component="2" validate="{}"></textarea>
            </td>
            <td style="width:15%;" class="formInput" width="140"></td>
            <td style="width:15%;" class="formInput" width="153"></td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput"></td>
        </tr>
        <tr>
            <td colspan="8" class="teamHead" width="1479">
                上报信息
            </td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdwd:csycdj">初始异常等级</span>:
            </td>
            <td style="width:15%;" class="formInput" width="0">
                <input type="text" el-component="1" name="m:cdwd:csycdj" class="inputText" value="" validate="{maxlength:20}"/>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp" width="126">
                <span i18nkey="m:cdwd:ycdj">异常等级</span>:
            </td>
            <td style="width:15%;" class="formInput" width="149">
                <input type="text" el-component="1" name="m:cdwd:ycdj" class="inputText" value="" validate="{maxlength:20}"/>
            </td>
            <td align="right" style="width: 10%; word-break: break-all;" class="formTitle" nowrap="nowarp" width="140">
                <span i18nkey="m:cdwd:zrdq"></span>
            </td>
            <td style="width: 15%; word-break: break-all;" class="formInput" width="153"></td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput"></td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdwd:kssbrgh">快速上报人工号</span>:
            </td>
            <td style="width:15%;" class="formInput" width="0">
                <input type="text" el-component="1" name="m:cdwd:kssbrgh" class="inputText" value="" validate="{maxlength:100}"/>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp" width="126">
                <span i18nkey="m:cdwd:kssbrxm">快速上报人姓名</span>:
            </td>
            <td style="width:15%;" class="formInput" width="149">
                <input type="text" el-component="1" name="m:cdwd:kssbrxm" class="inputText" value="" validate="{maxlength:100}"/>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp" width="140">
                <span i18nkey="m:cdwd:kssbrlxfs">快速上报人联系方式</span>:
            </td>
            <td style="width:15%;" class="formInput" width="153">
                <input type="text" el-component="1" name="m:cdwd:kssbrlxfs" class="inputText" value="" validate="{maxlength:100}"/>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdwd:kssbsj">快速上报时间</span>:
            </td>
            <td style="width:15%;" class="formInput">
                <input name="m:cdwd:kssbsj" el-component="17" type="text" class="Wdate" displaydate="0" datefmt="yyyy-MM-dd HH:mm:ss" value="" validate="{}"/>
            </td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdwd:sbrgh">上报人工号</span>:
            </td>
            <td style="width:15%;" class="formInput" width="0">
                <input type="text" el-component="1" name="m:cdwd:sbrgh" class="inputText" value="" validate="{maxlength:100}"/>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp" width="126">
                <span i18nkey="m:cdwd:sbrxm">上报人姓名</span>:
            </td>
            <td style="width:15%;" class="formInput" width="149">
                <input type="text" el-component="1" name="m:cdwd:sbrxm" class="inputText" value="" validate="{maxlength:100}"/>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp" width="140">
                <span i18nkey="m:cdwd:sbrlxfs">上报人联系方式</span>:
            </td>
            <td style="width:15%;" class="formInput" width="153">
                <input type="text" el-component="1" name="m:cdwd:sbrlxfs" class="inputText" value="" validate="{maxlength:100}"/>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdwd:sbsj">上报时间</span>:
            </td>
            <td style="width:15%;" class="formInput">
                <input name="m:cdwd:sbsj" el-component="17" type="text" class="Wdate" displaydate="0" datefmt="yyyy-MM-dd HH:mm:ss" value="" validate="{}"/>
            </td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp" height="0">
                <span i18nkey="m:cdwd:yccldq">异常处理地区</span>:
            </td>
            <td style="width:15%;" class="formInput" height="0" width="0">
                <div>
                    <input name="m:cdwd:yccldqID" type="hidden" class="hidden" value=""/><input name="m:cdwd:yccldq" type="text" el-component="8" selector-showfield="" value="" validate="{}" readonly=""/>
                </div>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp" height="0" width="126">
                <span i18nkey="m:cdwd:ycclwd">异常处理网点</span>:
            </td>
            <td style="width:15%;" class="formInput" height="0" width="149">
                <div>
                    <input name="m:cdwd:ycclwdID" type="hidden" class="hidden" value=""/><input name="m:cdwd:ycclwd" type="text" el-component="8" selector-showfield="" value="" validate="{}" readonly=""/>
                </div>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp" height="0" width="140">
                <span i18nkey="m:cdwd:fxsj">发现时间</span>:
            </td>
            <td style="width:15%;" class="formInput" height="0" width="153">
                <input name="m:cdwd:fxsj" el-component="17" type="text" class="Wdate" displaydate="0" datefmt="yyyy-MM-dd" value="" validate="{}"/>
            </td>
            <td align="right" style="width: 10%; word-break: break-all;" class="formTitle" nowrap="nowarp" height="0"></td>
            <td style="width: 15%; word-break: break-all;" class="formInput" height="0"></td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdwd:ycms">异常描述</span>:
            </td>
            <td style="width:15%;" class="formInput" width="0">
                <textarea name="m:cdwd:ycms" el-component="2" validate="{}"></textarea>
            </td>
            <td align="right" style="width: 10%; word-break: break-all;" class="formTitle" nowrap="nowarp" width="126"></td>
            <td style="width: 15%; word-break: break-all;" class="formInput" width="149"></td>
            <td style="width: 15%; word-break: break-all; text-align: right;" class="formInput" width="140">
                <span i18nkey="m:cdwd:fjxx" style="text-align: -webkit-right; white-space: normal;">附件信息</span><span style="text-align: -webkit-right; white-space: normal; background-color: rgb(250, 250, 250);">:</span>
            </td>
            <td style="width:15%;" class="formInput" width="153">
                <input type="file" value="请选择" el-component="12" name="m:cdwd:fjxx" validate="{required:false}" action="http://owsp.sit.sf-express.com/sysFile/upload" class="widget-fragment w-upload"/>
            </td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput"></td>
        </tr>
        <tr>
            <td colspan="8" class="teamHead" width="1479">
                事件基本信息
            </td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdwd:wdcdlx">围堵场地类型</span>:
            </td>
            <td style="width:15%;" class="formInput" width="0">
                <select name="m:cdwd:wdcdlx" el-component="13" validate="{}"><option value=""></option>
                <option value="1">
                    中转场
                </option>
                <option value="3">
                    营业网点
                </option>
                <option value="5">
                    办公场地
                </option>
                <option value="7">
                    场地所在园区
                </option></select>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp" width="126">
                <span i18nkey="m:cdwd:fswd">发生网点</span>:
            </td>
            <td style="width:15%;" class="formInput" width="149">
                <input type="text" el-component="1" name="m:cdwd:fswd" class="inputText" value="" validate="{maxlength:200}"/>
            </td>
            <td style="width:15%;" class="formInput" width="140"></td>
            <td style="width:15%;" class="formInput" width="153"></td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput"></td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdwd:wdfs">围堵方式</span>:
            </td>
            <td style="width:15%;" class="formInput" width="0">
                <select name="m:cdwd:wdfs" el-component="13" validate="{}"><option value=""></option>
                <option value="1">
                    人员围堵
                </option>
                <option value="3">
                    人车围堵
                </option></select>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp" width="126">
                <span i18nkey="m:cdwd:wdrs">围堵人数</span>:
            </td>
            <td style="width:15%;" class="formInput" width="149">
                <input name="m:cdwd:wdrs" type="text" el-component="1" value="" validate="{number:true,maxIntLen:20,maxDecimalLen:0}"/>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp" width="140">
                <span i18nkey="m:cdwd:xcsflhf">现场是否拉横幅</span>:
            </td>
            <td style="width:15%;" class="formInput" width="153">
                <select name="m:cdwd:xcsflhf" el-component="13" validate="{}"><option value=""></option>
                <option value="1">
                    是
                </option>
                <option value="3">
                    否
                </option></select>
            </td>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdwd:sfbj">是否报警</span>:
            </td>
            <td style="width:15%;" class="formInput">
                <select name="m:cdwd:sfbj" el-component="13" validate="{}"><option value=""></option>
                <option value="1">
                    是
                </option>
                <option value="3">
                    否
                </option></select>
            </td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdwd:wdyyms">围堵原因描述</span>:
            </td>
            <td style="width:15%;" class="formInput" colspan="3">
                <input type="text" el-component="1" name="m:cdwd:wdyyms" class="inputText" value="" validate="{maxlength:800}"/>
            </td>
            <td style="width:15%;" class="formInput" width="140"></td>
            <td style="width:15%;" class="formInput" width="153"></td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput"></td>
        </tr>
        <tr>
            <td align="right" style="width:10%;" class="formTitle" nowrap="nowarp">
                <span i18nkey="m:cdwd:wdrysq">围堵人员诉求</span>:
            </td>
            <td style="width:15%;" class="formInput" colspan="3">
                <input type="text" el-component="1" name="m:cdwd:wdrysq" class="inputText" value="" validate="{maxlength:800}"/>
            </td>
            <td style="width:15%;" class="formInput" width="140"></td>
            <td style="width:15%;" class="formInput" width="153"></td>
            <td style="width:15%;" class="formInput"></td>
            <td style="width:15%;" class="formInput"></td>
        </tr>
    </tbody>
</table><br/>
<script>
    $(function(){
        //时间格式化
        function timeFormate(name){
            var sbsj=FR_MAIN.getData(name).replace(/-/g,'/');
            if(sbsj&&sbsj!=''){
                var sbsj=new Date(sbsj);
                return(sbsj.getMonth() + 1)+'月'+sbsj.getDate()+'日'+ sbsj.getHours()+'时'+sbsj.getMinutes()+'分'+sbsj.getSeconds()+'秒';
            }
            return sbsj;
        }
        var setycxx=function setycxx(){
            debugger
            //【发生时间】（例：5月10日12点10分）+【异常处理地区】+“发生一起”+异常上报：【围堵场地类型】+“围堵”+【初始异常等级】+“异常事件”，"发生网点："+【初始异常等级】；"围堵人数："+【围堵人数】；"预计影响车辆数："+【预计影响车辆数】；
            var fssj=timeFormate("m:cdwd:fxsj");//发现时间
            var yccldq=FR_MAIN.getData("m:cdwd:yccldq");
            var fswdlx = parseInt(FR_MAIN.getData("m:cdwd:wdcdlx"))?parseInt(FR_MAIN.getData("m:cdwd:wdcdlx")):0;
            switch(fswdlx){
                case 1:
                    fswdlx="中转场";
                    break;
                case 3:
                    fswdlx="营业网点";
                    break;
                case 5:
                    fswdlx="办公场地";
                    break;
                case 7:
                    fswdlx="场地所在园区";
                    break;
            }
            var csycdj = FR_MAIN.getData("m:cdwd:csycdj")
            var fswd = FR_MAIN.getData("m:cdwd:fswd");

            var wdrs = FR_MAIN.getData("m:cdwd:wdrs");
            //var swrs=FR_MAIN.getData("m:cdwd:yjyxcls");
            var ycxx =fssj+yccldq+'发生一起异常上报：'+fswdlx+'围堵'+csycdj+';围堵人数：'+wdrs;
            FR_MAIN.setData("m:cdwd:ycxx",ycxx);
        }
        function init(){
            setycxx();
        }
        init();
        var fieldChange = {
            "m:cdwd:fxsj" :setycxx,
            "m:cdwd:yccldq" :setycxx,
            "m:cdwd:wdcdlx" :setycxx,
            "m:cdwd:csycdj" :setycxx,
            "m:cdwd:fswd" :setycxx,
            "m:cdwd:wdrs" :setycxx,
        };
         // 表单改变
        window.FormChange = Object.assign({}, fieldChange);
    });
</script>